package org.wyq.myweb.jmx.beaninfo;

import java.lang.management.MemoryUsage;

public class MemoryInfoBean implements IInfoBean{
	private MemoryUsage eden;
	private MemoryUsage survivor;
	private MemoryUsage old;
	private MemoryUsage perm;

	@Override
	public String name() {
		return "memory";
	}

	public MemoryUsage getEden() {
		return eden;
	}

	public void setEden(MemoryUsage eden) {
		this.eden = eden;
	}

	public MemoryUsage getSurvivor() {
		return survivor;
	}

	public void setSurvivor(MemoryUsage survivor) {
		this.survivor = survivor;
	}

	public MemoryUsage getOld() {
		return old;
	}

	public void setOld(MemoryUsage old) {
		this.old = old;
	}

	public MemoryUsage getPerm() {
		return perm;
	}

	public void setPerm(MemoryUsage perm) {
		this.perm = perm;
	}

	

}
